Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-227695 | GEN002210 | SV-227695r603266_rule | Medium |
Description |
---|
If shell files are group-owned by users other than root or a system group, they could be modified by intruders or malicious users to perform unauthorized actions. |
STIG | Date |
---|---|
Solaris 10 X86 Security Technical Implementation Guide | 2022-09-07 |
Check Text ( C-29857r488666_chk ) |
---|
If /etc/shells exists, check the group ownership of each shell referenced. Procedure: # cat /etc/shells | xargs -n1 ls -lL Otherwise, check any shells found on the system. Procedure: # find / -name "*sh" | xargs -n1 ls -lL If a shell is not group-owned by root, bin, or sys, this is a finding. |
Fix Text (F-29845r488667_fix) |
---|
Change the group-owner of the shell to root, bin, or sys. Procedure: # chgrp root |